package com.jgp.security.secmodel;

import com.jgp.common.persistence.UUIDModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目   parent
 * 作者   loufei
 * 时间   2018/4/13
 */
@Entity
@Table(name = "sec_role_user")
public class SecRoleUser extends UUIDModel{
    
    private static final long serialVersionUID = -8543789365242199973L;
    @Column(name = "role_id")
    private Long roleId;
    
    @Column(name = "user_id",length = 32)
    private String userId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
